home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / unix / lin95aux / relnotes.12 < prev    next >
Encoding:
Text File  |  1992-03-14  |  8.6 KB  |  208 lines

  1.  
  2.  
  3.         RELEASE NOTES FOR LINUX v0.12
  4.  
  5.  
  6. This is file mostly contains info on changed features of Linux, and
  7. using old versions as a help-reference might be a good idea.
  8.  
  9.  
  10.         COPYRIGHT
  11.  
  12. The Linux copyright will change: I've had a couple of requests to make
  13. it compatible with the GNU copyleft, removing the "you may not
  14. distribute it for money" condition.  I agree.  I propose that the
  15. copyright be changed so that it confirms to GNU - pending approval of
  16. the persons who have helped write code.  I assume this is going to be no
  17. problem for anybody: If you have grievances ("I wrote that code assuming
  18. the copyright would stay the same") mail me.  Otherwise The GNU copyleft
  19. takes effect as of the first of February.  If you do not know the gist
  20. of the GNU copyright - read it.
  21.  
  22.  
  23.         INSTALLATION
  24.  
  25. This is a SHORT install-note. The installation is very similar to 0.11,
  26. so read that (RELNOTES.11) too. There are a couple of programs you will
  27. need to install linux: something that writes disk images (rawrite.exe or
  28. NU or...) and something that can create harddisk partitions (fdisk under
  29. xenix or older versions of dos, edpart.exe or something like that).
  30.  
  31. NOTE! Repartitioning your harddisk will destroy all data on it (well,
  32. not exactly, but if you know enough to get back the data you probably
  33. didn't need this warning).  So be careful.
  34.  
  35. READ THIS THROUGH, THEN READ RELNOTES.11, AND IF YOU ARE SURE YOU KNOW
  36. WHAT YOU ARE DOING, CONTINUE.  OTHERWISE, PANIC.  OR WRITE ME FOR
  37. EXPLANATIONS.  OR DO ANYTHING BUT INSTALL LINUX - IT'S VERY SIMPLE, BUT
  38. IF YOU DON'T KNOW WHAT YOU ARE DOING YOU'LL PROBABLY BE SORRY.  I'D
  39. RATHER ANSWER A FEW UNNECESSARY MAILS THAN GET MAIL SAYING "YOU KILLED
  40. MY HARDDISK, BASTARD.  I'M GOING TO FIND YOU, AND YOU'LL BE SORRY WHEN I
  41. DO". 
  42.  
  43. 1) back up everything you have on your harddisk - linux-0.12 is still in
  44.    beta and might do weird things.  The only thing I guarantee is that
  45.    it has worked fine on /my/ machine - for all I know it might eat your
  46.    harddisk and spit it out in small pieces on any other hardware. 
  47.  
  48. 2) Test out the linux boot-disk with the root file system.  If it
  49.    doesn't work, check the hardware requirements, and mail me if you
  50.    still think it should work.  I might not be able to help you, but
  51.    your bug-report would still be appreciated. 
  52.  
  53.    Test that linux can read your harddisk at least partly: run the fdisk
  54.    program on the root-disk, and see if it barfs.  If it tells you about
  55.    any partitions at all, linux can successfully read at least part of
  56.    your harddisk. 
  57.  
  58. 3) Make sure that you have a free /primary/ partition.  There can be 4
  59.    primary partitions per drive: newer DOS fdisks seem to be able to
  60.    create only 2 (one primary and one extended).  In that case use some
  61.    other partitioning software: edpart.exe etc.  Linux fdisk currently
  62.    only tells you the partition info - it doesn't write to the disk. 
  63.  
  64.    Remember to check how big your partition was, as that can be used to
  65.    tell which device Linux thinks it is. AFTER PARTITIONING ALWAYS USE
  66.    LINUX'S OWN FDISK TO READ THE PARTITIONS SO THAT YOU WILL KNOW HOW
  67.    LINUX LABELS THE PARTITIONS. Do not assume that Linux numbers always
  68.    agree with numbers reported by other partitioning software. For example,
  69.    what DOS's fdisk refers to as partition number 2 may be viewed by Linux
  70.    as /dev/hd4. It all depends on your particular unique circumstances and
  71.    is of no importance EXCEPT that when you tell Linux to make a file system
  72.    on your disk OR patch the Linux boot image to tell it to use the hard 
  73.    drive as root. If you and Linux aren't both "on the same page" conceptually,
  74.    you will unintenionally overwrite the wrong partition, or be unable to 
  75.    boot from the hard drive.
  76.  
  77. 4) Boot up linux again, fdisk to make sure you now have the new
  78.    partition, and use mkfs to make a filesystem on one of the partitions
  79.    fdisk reports.  Write "mkfs -c /dev/hdX nnn" where X is the device
  80.    number reported by linux fdisk, and nnn is the size - also reported
  81.    by fdisk.  nnn is the size in /blocks/, ie kilobytes.  You should be
  82.    able to use the size info to determine which partition is represented
  83.    by which device name. 
  84.  
  85. 5) Copy over the root filesystem to the harddisk, eg like this:
  86.           
  87.           cd /
  88.           mkdir user
  89.           mount /dev/hdX /user
  90.           cd /user
  91.       for i in bin dev etc usr tmp
  92.       do
  93.       cp +recursive /$i /user
  94.       done
  95.  
  96.    You caanot use just "cp +recursive / /user", as that will result in a
  97.    loop.
  98.  
  99. 6) Sync the filesystem after you have played around enough, and reboot.
  100.         
  101.         umount /dev/hdX
  102.         sync
  103.     sync
  104.         sync
  105.     <wait for it to sync>
  106.     ctrl-alt-del
  107.  
  108.    The folklore says you should do this three times before rebooting:
  109.    once should be enough, but I admit I do it three times anyway :) THIS
  110.    IS IMPORTANT! NEVER EVER FORGET TO SYNC BEFORE KILLING THE MACHINE.
  111.  
  112. 7) Change the bootdisk to understand which partition it should use as a
  113.    root filesystem.  See RELNOTES.11: it's still the word at offset
  114.    508 into the image. You should be up and running.
  115.  
  116.  
  117. That's it. Go back and read the RELNOTES.11
  118.  
  119.  
  120.         New features of 0.12, in order of appearance
  121.             (ie in the order you see them)
  122.  
  123.     Linux now prints cute dots when loading
  124.  
  125. WoW. Run, don't walk, to see this :). Seriously, it should hopefully now
  126. load even on machines that never got off the ground before, but
  127. otherwise the loading hasn't changed. Implemented by drew.
  128.  
  129.     Super-VGA detection for extended alphamun modes
  130.  
  131. I cannot guarantee it, I didn't write it, but it works great on a ET400
  132. SVGA card.  I'm addicted to the new look with 100x40 character editing,
  133. instead of a cramped 80x25.  This only works on VGA-cards that support
  134. higher text-resolutions, and which are correctly identified. Implemented
  135. by d88-man.
  136.  
  137.     Job Control.
  138.  
  139. Ok, everybody used to typing ^Z after they started a long command, and
  140. forgot to put it in the background - now it works on linux too.  Bash
  141. knows the usualy job-control commands: bg, fg, jobs & kill.  I hope
  142. there will be no nasty surprises.  Job control was implemented by
  143. tytso@athena.mit.edu.
  144.  
  145.     Virtual consoles on EGA/VGA screens.
  146.  
  147. You can select one of several consoles by pressing the left alt-key and
  148. a function key at the same time. Linux should report the number of
  149. virtual consoles available upon bootup. /dev/tty0 is now "the current"
  150. screen, /dev/tty1 is the main console, and /dev/tty2-8 can exist
  151. depending on your text-mode or card.
  152.  
  153. NOTE! Scrolling is noticeably much slower with virtual consoles on a
  154. EGA/VGA. The reason is that no longer does linux use all the screen
  155. memory as a long buffer, but crams in several consoles in it. I think
  156. it's worth it.
  157.  
  158. The virtual consoles also have some new screen-handling commands: they
  159. confirm even better to vt200 control codes than 0.11. Special graphic
  160. characters etc: you can well use them as terminals to VMS (although
  161. that's a shameful waste of resources).
  162.  
  163.     pty's
  164.  
  165. Ok. I have to admit that I didn't get the hangup-code working correctly,
  166. but that should be easy to add. The general things are there.
  167.  
  168.     select
  169.  
  170. I've never used it, so I cannot say how well it works. My minor testing
  171. seems to indicate that it works ok. vc's, pty's and select were
  172. implemented by pmacdona, although I hacked it heavily.
  173.  
  174.     387-emulation.
  175.  
  176. It's not complete, but it works well enough to run those gcc2.0 compiled
  177. programs I tested (few).  None of the "heavy" math-functions are
  178. implemented yet.
  179.  
  180.     Symbolic links.
  181.  
  182. Try out a few "ln -s xx yy", and ls -l. Note that I think tar should be
  183. recompiled to know anout them, and probably some other programs too. The
  184. 0.12 rootimage-disk has most of the recompiled file utilities.
  185.  
  186.     Virtual memory.
  187.  
  188. In addition to the "mkfs" program, there is now a "mkswap" program on
  189. the root disk.  The syntax is identical: "mkswap -c /dev/hdX nnn", and
  190. again: this writes over the partition, so be careful.  Swapping can then
  191. be enabled by changing the word at offset 506 in the bootimage to the
  192. desired device.  Use the same program as for setting the root file
  193. system (but change the 508 offset to 506 of course). 
  194.  
  195. NOTE! This has been tested by Robert Blum, who has a 2M machine, and it
  196. allows you to run gcc without much memory.  HOWEVER, I had to stop using
  197. it, as my diskspace was eaten up by the beta-gcc-2.0, so I'd like to
  198. hear that it still works: I've been totally unable to make a
  199. swap-partition for even rudimentary testing since about christmastime. 
  200. Thus the new changes could possibly just have backfired on the VM, but I
  201. doubt it. 
  202.  
  203.     And that's it, I think.
  204.  
  205. Happy hacking.
  206.  
  207.             Linus
  208.